package com.ruoyi.community.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
import com.ruoyi.common.utils.StringUtils;
import org.springframework.transaction.annotation.Transactional;
import com.ruoyi.community.domain.PayCost;
import com.ruoyi.community.mapper.PayHistoryMapper;
import com.ruoyi.community.domain.PayHistory;
import com.ruoyi.community.service.IPayHistoryService;

/**
 * 缴费信息Service业务层处理
 * 
 * @author 韩宁
 * @date 2021-12-22
 */
@Service
public class PayHistoryServiceImpl implements IPayHistoryService 
{
    @Autowired
    private PayHistoryMapper payHistoryMapper;

    /**
     * 查询缴费信息列表
     * 
     * @param payHistory 缴费信息
     * @return 缴费信息
     */
    @Override
    public List<PayHistory> selectPayHistoryList(PayHistory payHistory)
    {
        return payHistoryMapper.selectPayHistoryList(payHistory);
    }

    @Override
    public Integer getHisIdByCostId(Integer costId) {
        return payHistoryMapper.getHisIdByCostId(costId);
    }
}
